package com.adam.seatabusiness.business.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @ClassName IntegralFeignService
 * @Description
 * @author LiDaXing
 * @since 2023-04-03
 * @Version V1.0
 **/
@FeignClient(value = "seata-integral")
public interface IntegralFeignService {

    @RequestMapping(value = "/integral/integral/reduceIntegral")
    void reduceIntegral(@RequestParam("point") int point, @RequestParam("commodityCode") String commodityCode);
}
